<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.core.numbers.Real&rdquo;</title>
        </head>
        <body><h1 class="class">Class s.c.n.Real(<a href="sympy.core.numbers.Number.html">Number</a>):</h1><span id="part">Part of <a href="sympy.core.numbers.html">sympy.core.numbers</a></span><div class="toplevel"><div><p>Represents a floating point number. It is capable of representing 
arbitrary-precision floating-point numbers</p>
<h1 class="heading">Usage:</h1>
  <p>Real(3.5)   .... 3.5 (the 3.5 was converted from a python float) 
  Real(&quot;3.0000000000000005&quot;)</p>
<h1 class="heading">Notes:</h1>
  <ul>
    <li>
      Real(x) with x being a Python int/long will return Integer(x)
    </li>
  </ul>
</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__new__">__new__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.float_to_decimal">float_to_decimal</a></td><td><div><p>Convert a floating point number to a Decimal with no loss of 
information</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real._hashable_content">_hashable_content</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.tostr">tostr</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.torepr">torepr</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real._eval_is_positive">_eval_is_positive</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real._eval_is_negative">_eval_is_negative</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real._eval_evalf">_eval_evalf</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real._as_decimal">_as_decimal</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__neg__">__neg__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__mul__">__mul__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__add__">__add__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real._eval_power">_eval_power</a></td><td><div><p>b is Real but not equal to rationals, integers, 0.5, oo, -oo, nan</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__abs__">__abs__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__int__">__int__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__float__">__float__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__eq__">__eq__</a></td><td><div><p>a == b  -&gt; Compare two symbolic trees and see whether they are 
equal</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__ne__">__ne__</a></td><td><div><p>a != b  -&gt; Compare two symbolic trees and see whether they are 
different</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__lt__">__lt__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.__le__">__le__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.Real.epsilon_eq">epsilon_eq</a></td><td><span class="undocumented">Undocumented</span></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__new__">__new__(cls, num):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.float_to_decimal">float_to_decimal(f):</a></div>
            <div class="functionBody"><div><p>Convert a floating point number to a Decimal with no loss of 
information</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real._hashable_content">_hashable_content(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.tostr">tostr(self, level=0):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.torepr">torepr(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real._eval_is_positive">_eval_is_positive(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real._eval_is_negative">_eval_is_negative(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real._eval_evalf">_eval_evalf(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real._as_decimal">_as_decimal(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__neg__">__neg__(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__mul__">__mul__(self, other):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__add__">__add__(self, other):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real._eval_power">_eval_power(b, e):</a></div>
            <div class="functionBody"><pre>b is Real but not equal to rationals, integers, 0.5, oo, -oo, nan
e is symbolic object but not equal to 0, 1

(-p) ** r -> exp(r * log(-p)) -> exp(r * (log(p) + I*Pi)) ->
          -> p ** r * (sin(Pi*r) + cos(Pi*r) * I)</pre></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__abs__">__abs__(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__int__">__int__(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__float__">__float__(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__eq__">__eq__(self, other):</a></div>
            <div class="functionBody"><pre>a == b  -> Compare two symbolic trees and see whether they are equal

this is the same as:

  a.compare(b) == 0

but faster</pre></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__ne__">__ne__(self, other):</a></div>
            <div class="functionBody"><pre>a != b  -> Compare two symbolic trees and see whether they are different

this is the same as:

  a.compare(b) != 0

but faster</pre></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__lt__">__lt__(self, other):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.__le__">__le__(self, other):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.Real.epsilon_eq">epsilon_eq(self, other, epsilon='10e-16'):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div></body>
        